/**
 * ClassName: DoubleForTest
 * Package: PACKAGE_NAME
 * Description:
 *
 * @Author 糕糕
 * @Create 2024-01-25 17:22
 * @Version 1.0
 */
public class DoubleForTest {

    public static void main(String[] args) {
        //九九乘法表
        for (int i = 1; i <= 9; i++) {

            for (int j = 1; j <= i; j++) {
                System.out.print(j + "*" + i + "=" + i * j);
                System.out.print("  ");
            }
            System.out.println();

        }
        // 星星阵列
        for (int i = 1; i <= 9; i++) {

            for (int j = 1; j <= i; j++) {
                System.out.print("*");
                System.out.print("  ");
            }
            System.out.println();

        }

    }
}




